home *** CD-ROM | disk | FTP | other *** search
/ US Army & World War 2 Set 2 / US Army & World War 2 Set 2 - Disc 1.iso / pc / Reader / AcroRd32.exe / EXVW / 10054 < prev    next >
Text File  |  2001-09-24  |  5KB  |  122 lines

  1.  
  2. gStdSecInfoBitNum = max(
  3.     zstring_width(zstring: '$$$avSecurityStandardHandler40'),
  4.     zstring_width(zstring: '$$$avSecurityStandardHandler128'),
  5.     zstring_width(zstring: '$$$avSecurityStandardHandlerCustom'));
  6.  
  7. gStdSecInfoStatus = max(
  8.     zstring_width(zstring: '$$$avSecurityInfoAllowed'),
  9.     zstring_width(zstring: '$$$avSecurityInfoNotAllowed'),
  10.     zstring_width(zstring: '$$$avYes'),
  11.     zstring_width(zstring: '$$$avNo'),
  12.     zstring_width(zstring: '$$$avSecurityStdPrntNone'),
  13.     zstring_width(zstring: '$$$avSecurityStdPrntBasic'),
  14.     zstring_width(zstring: '$$$avSecurityStdPrntPS'));
  15.  
  16.  
  17. gLabelMethod = zstring_width(zstring: '$$$/Dialogs/StdSecurityInfo/Method');
  18. gLabelOpenPwd = zstring_width(zstring: '$$$/Dialogs/StdSecurityInfo/OpenPwd');
  19. gLabelSecurPwd = zstring_width(zstring: '$$$/Dialogs/StdSecurityInfo/SecurPwd');
  20. gLabelPrinting = zstring_width(zstring: '$$$/Dialogs/StdSecurityInfo/Printing');
  21. gLabelHighPrint = zstring_width(zstring: '$$$/Dialogs/StdSecurityInfo/HighPrint');
  22. gLabelChangeable = zstring_width(zstring: '$$$/Dialogs/StdSecurityInfo/Changeable');
  23. gLabelExtract= zstring_width(zstring: '$$$/Dialogs/StdSecurityInfo/Extract');
  24. gLabelEditNotes = zstring_width(zstring: '$$$/Dialogs/StdSecurityInfo/EditNotes');
  25. gLabelFillandSign = zstring_width(zstring: '$$$/Dialogs/StdSecurityInfo/FillandSign');
  26. gLabelAccessibility = zstring_width(zstring: '$$$/Dialogs/StdSecurityInfo/Accessibility');
  27. gLabelDocAssembly= zstring_width(zstring: '$$$/Dialogs/StdSecurityInfo/DocAssembly');
  28. gLabelCompatibility= zstring_width(zstring: '$$$/Dialogs/StdSecurityInfo/Compatibility');
  29. gLabelItemWidth = max(
  30.     gLabelMethod,
  31.     gLabelOpenPwd,
  32.     gLabelSecurPwd,
  33.     gLabelPrinting,
  34.     gLabelHighPrint,
  35.     gLabelChangeable,
  36.     gLabelExtract,
  37.     gLabelEditNotes,
  38.     gLabelFillandSign,
  39.     gLabelAccessibility,
  40.     gLabelDocAssembly,
  41.      gLabelCompatibility)+ max_char_width();
  42.  
  43. gVerticalGapHeight = gStaticTextHeight / 4;
  44.  
  45. dialog(name: '$$$/Dialogs/StdSecurityInfo')
  46. {
  47.     group()
  48.     {
  49.         view(align_children: align_light)
  50.         {
  51.             view(align_children: align_top)
  52.             {
  53.                 gap( width: gLabelItemWidth - gLabelMethod );
  54.                 static_text(name: '$$$/Dialogs/StdSecurityInfo/Method');
  55.                 static_text(item_id: 'Smet', width: max_char_width() * 16);
  56.             }
  57.             view(align_children: align_row)
  58.             {
  59.                 gap( width: gLabelItemWidth - gLabelOpenPwd );
  60.                 static_text(name: '$$$/Dialogs/StdSecurityInfo/OpenPwd');
  61.                 static_text(item_id: 'opwd', width: gStdSecInfoStatus);
  62.             }
  63.             view(align_children: align_row)
  64.             {
  65.                 gap( width: gLabelItemWidth - gLabelSecurPwd );
  66.                 static_text(name: '$$$/Dialogs/StdSecurityInfo/SecurPwd');
  67.                 static_text(item_id: 'spwd', width: gStdSecInfoStatus);
  68.             }
  69.             view(align_children: align_row)
  70.             {
  71.                 gap( width: gLabelItemWidth - gLabelPrinting );
  72.                 static_text(name: '$$$/Dialogs/StdSecurityInfo/Printing');
  73.                 static_text(item_id: 'prnt', width: gStdSecInfoStatus);
  74.             }
  75.             view(align_children: align_row)
  76.             {
  77.                 gap( width: gLabelItemWidth - gLabelChangeable );
  78.                 static_text(name: '$$$/Dialogs/StdSecurityInfo/Changeable');
  79.                 static_text(item_id: 'chng', width: gStdSecInfoStatus);
  80.             }
  81.             view(align_children: align_row)
  82.             {
  83.                 gap( width: gLabelItemWidth - gLabelExtract );
  84.                 static_text(name: '$$$/Dialogs/StdSecurityInfo/Extract');
  85.                 static_text(item_id: 'exct', width: gStdSecInfoStatus);
  86.             }
  87.             view(align_children: align_row)
  88.             {
  89.                 gap( width: gLabelItemWidth - gLabelEditNotes );
  90.                 static_text(name: '$$$/Dialogs/StdSecurityInfo/EditNotes');
  91.                 static_text(item_id: 'anot', width: gStdSecInfoStatus);
  92.             }
  93.             view(align_children: align_row)
  94.             {
  95.                 gap( width: gLabelItemWidth - gLabelFillandSign );
  96.                 static_text(name: '$$$/Dialogs/StdSecurityInfo/FillandSign');
  97.                 static_text(item_id: 'fill', width: gStdSecInfoStatus);
  98.             }
  99.             view(align_children: align_row)
  100.             {
  101.                 gap( width: gLabelItemWidth - gLabelAccessibility );
  102.                 static_text(name: '$$$/Dialogs/StdSecurityInfo/Accessibility');
  103.                 static_text(item_id: 'acce', width:gStdSecInfoStatus);
  104.             }
  105.             view(align_children: align_row)
  106.             {
  107.                 gap( width: gLabelItemWidth - gLabelDocAssembly );
  108.                 static_text(name: '$$$/Dialogs/StdSecurityInfo/DocAssembly');
  109.                 static_text(item_id: 'doca', width: gStdSecInfoStatus);
  110.             }
  111.             view(align_children: align_row)
  112.             {
  113.                 gap( width: gLabelItemWidth - gLabelCompatibility );
  114.                 static_text(name: '$$$/Dialogs/StdSecurityInfo/Compatibility');
  115.                 static_text(item_id: 'comp', width: gStdSecInfoBitNum);
  116.             }
  117.         }
  118.     gap( height: gVerticalGapHeight );
  119.     ok();
  120.     }
  121. }
  122.